package com.cjh;

import com.cjh.controller.EmpController;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author cjh
 */
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableDubbo
public class DubboConsumerApplication {
    private static Logger logger = LoggerFactory.getLogger(DubboConsumerApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(DubboConsumerApplication.class, args);
        logger.info("===消费者已启动===");
    }

}
